

define(["jquery"], function($) {
	// 构造函数
	function Other() {
		this.init();
	}

    // 扩展原型
    Other.prototype = {
		constructor: Other,
	
		// 初始化
		init() {
			this.loadOther();
		},

		// 加载其他
		loadOther() {
            $(".other").load("/html/other.html",()=>{
							$(".he-nav-bd .qqqqq").hover( function(){

								$(".he-nav-bd .main_cate_l").stop(true).animate({
									opacity: "1" },
								{
									queue: false,
									duration: 1000
									// step: function( now, fx ){
									//   $( ".block:gt(0)" ).css( "left", "200" );
									}),
			
									$(".he-nav-bd .main_cate_l").slideDown(900);
									
									
								},
		
		
								
								() => {
									 
										$(".he-nav-bd .main_cate_l").stop(true).animate({
											opacity: "0.2" },
										{
											queue: false,
											duration: 1000 })
											$(".he-nav-bd .main_cate_l").slideUp({ queue: false, duration: 900 });
									})
		
		
		
		
		
		
									$(".he-nav-bd .main_cate_l").hover( function(){
			
										$(this).stop().show()
										
									},
									() => {
											$(".he-nav-bd .main_cate_l").stop().slideUp(1000);
											
										})

						});
            console.log("other")
		},
	};

	return new Other();
});